<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>sss</title>
		
	<script type="text/javascript" src="js_xmldom1.js"></script>
<script type="text/javascript">
function jxxml(){

xmlDoc=loadXMLDoc(document.getElementById('fil1').value);

document.write(xmlDoc.getElementsByTagName("item")[0].childNodes[0].childNodes[0].nodeValue);
document.write("<br />");
}
</script>	</head>
	<body>
	<input type="file" id="fil1" />
	<input type="button" value="外部js加载解析xml" onclick="jxxml()" />
	</body>
</html>
